package DB;

import Model.Course;

import java.util.ArrayList;

public interface CourseDBIF {

    //Insert course
    public int insertCourse(Course course);

    //Find course
    public Course findCourse (int id);

    //Find all courses
    public ArrayList<Course> getAllCourses(boolean retrieveAssociation);

    //Update course
    public int updateCourse(Course course);

    //Delete course
    public int deleteCourse(int id);
}
